package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_system_remain_time", autoSave = true)
public class LogSystemRemainTime {

    @FieldTypeAnnotation(isIndex = true, desc = "玩家编号")
    private long userId;

    @FieldTypeAnnotation(isIndex = true, desc = "系統id")
    private int systemId;

    @FieldTypeAnnotation(isIndex = true, desc = "矿场、榷场、商帮 记录weekId")
    private int id;

    @FieldTypeAnnotation(desc = "逗留时间")

    private long remainTime;

    @FieldTypeAnnotation(desc = "日志写入时间")

    private long time;

    public LogSystemRemainTime(long userId, int systemId, int id, long remainTime, long time) {
        this.userId = userId;
        this.systemId = systemId;
        this.id = id;
        this.remainTime = remainTime;
        this.time = time;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSystemId() {
        return systemId;
    }

    public void setSystemId(int systemId) {
        this.systemId = systemId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getRemainTime() {
        return remainTime;
    }

    public void setRemainTime(long remainTime) {
        this.remainTime = remainTime;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
